<%--
  Created by IntelliJ IDEA.
  User: 小邓
  Date: 2024/9/17
  Time: 16:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html>
<head>
    <title>Title</title>
</head>
<body>

<h1>欢迎${sessionScope.user.reallyName}</h1>
<table border="1">
    <tr>
        <th>书名</th>
        <th>书类型</th>
        <th>作者</th>
    </tr>
    <c:forEach var ="book" items="${requestScope.bookList }">

        <tr>
            <td>${book.bookName}</td>
            <td>${book.bookType}</td>
            <td>${book.bookWriter}</td>
        </tr>
    </c:forEach>


</table>
</body>
</html>
